Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sweep: create a chat function like completion in upsonic_on_prem/utils/ai/ai.py (✓ Sandbox Passed) #88

Closed

Conversation

onuratakan
Copy link
Member

Description

This pull request adds a new chat function to the AI class in upsonic_on_prem/utils/ai/ai.py.

Summary

  • Added a new chat function to the AI class in upsonic_on_prem/utils/ai/ai.py
  • The chat function uses the GPT-3.5-turbo model to generate chat responses
  • If an exception occurs during chat generation, a failure message is logged

Fixes #87.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

@onuratakan onuratakan self-assigned this Mar 13, 2024
@onuratakan
Copy link
Member Author

Rollback Files For Sweep

  • Rollback changes to upsonic_on_prem/utils/ai/ai.py

This is an automated message generated by Sweep AI.

@onuratakan
Copy link
Member Author

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

This is an automated message generated by Sweep AI.

Copy link

github-actions bot commented Mar 13, 2024

Qodana Community for Python

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@onuratakan onuratakan closed this Mar 27, 2024
@onuratakan onuratakan deleted the sweep/create_a_chat_function_like_completion_i branch July 15, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: create a chat function like completion in upsonic_on_prem/utils/ai/ai.py
1 participant